package com.yuandian.api.customer_perception.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.yuandian.annotation.AddSuffix;
import com.yuandian.utils.poi.converter.AddSuffixConverter;
import com.yuandian.utils.poi.converter.DurationFormatConverter;
import lombok.Data;

/**
 * 说明：业务操作员总览vo对象
 * @Author linshihe
 * @Date 2021/8/11 13:57
 */
@Data
@HeadRowHeight(30)
public class BusinessOperatorOverviewVo {

    /**
     * 序号
     */
    private Integer id;

    /**
     * 地市编码
     */
    @ExcelIgnore
    private String areaCode;


    /**
     * 系统Id
     */
    @ExcelIgnore
    private Integer systemId;

    /**
     * 业务编码
     */
    @ExcelIgnore
    private String businessCode;

    /**
     * 操作员ID
     */
    @ColumnWidth(20)
    @ExcelProperty("操作员ID")
    private String operatorId;

    /**
     * 姓名
     */
    @ColumnWidth(20)
    @ExcelProperty("姓名")
    private String operatorName;


    /**
     * 业务名称
     */
    @ExcelIgnore
    private String businessName;

    /**
     * 办事处id
     */
    private String businessHallId;

    /**
     * 办事处名称
     */
    @ColumnWidth(20)
    @ExcelProperty("所属办事处")
    private String businessHallName;

    /**
     * 系统名称
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "系统名称")
    private String systemName;

    /**
     * 访问量
     */
    @ColumnWidth(20)
    @ExcelProperty("访问量")
    private Integer visitCount;

    /**
     * 受理量
     */
    @ColumnWidth(20)
    @ExcelProperty("受理量")
    private Integer completeCount;

    /**
     * 告警访问量
     */
    @ColumnWidth(20)
    @ExcelProperty("告警访问量")
    private Integer alarmCount;

    /**
     * 失败访问量
     */
    @ColumnWidth(20)
    @ExcelProperty("失败访问量")
    private Integer failCount;

    /**
     * 平均办理时长
     */
    @ColumnWidth(30)
    @ExcelProperty(value = "平均办理时长", converter = DurationFormatConverter.class)
    private String avgVisitTime;

    /**
     * 成功率
     */
    @ColumnWidth(20)
    @AddSuffix("%")
    @ExcelProperty(value = "成功率", converter = AddSuffixConverter.class)
    private String successRate;
}
